# -!- coding: utf-8 -!-
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
 存放api接口信息。以dict形式存放，这样就可以API_ALL[''][url]这种方式去取，看起来较直观，知道取得是哪个接口的那部分信息
 BJHY,BJZH,SDLY,
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
from datetime import datetime
from pycacho.cachobase.deal_json import dict_to_json
from pycacho.cachobase.deal_time import minus_date

cur_time = minus_date(0,'q')

API_QDZJ={
    "BJHY":{"service": {
        "serviceHeader": {
            "serviceId": "hyApply",
            "channelCd": "BJHY",
            "productCd": "BJHY001",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "caseId": "ceshi-21",
                "name": "梁家龙",
                "idCard": "452226199407166311",
                "phone": "18576783787",
                "sex": "男",
                "age": 24,
                "applyLimit":500.123,
                "applyTerm": 1,
                "useFor": "购物",
                "deliveryAddress": "北京市朝阳区太阳宫中路8号冠捷大厦302",
                "purGoods": "时尚风衣",
                "purPrice": 65000,
                "occupation": "公务员",
                "monthIncome": 50000,
                "empName": "北京华品博睿网络技术有限公司",
                "empCity": "北京市",
                "empAddress": "北京市朝阳区太阳宫中路8号冠捷大厦302",
                "empPhone": "010-84150633",
                "qq": "56225615",
                "weChat": "13512345678",
                "education": "本科",
                "maritalStatus": "已婚",
                "email": "56225615@qq.com",
                "carStatus": "有车",
                "abodeAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
                "idAddress": "广州市天河区科韵路16号广州信息港C2栋8层测试地址看看你你说你那个你那个你呢食尸鬼",
                "gpsAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
                "appName": "微信",
                "appVersion": "2.12.5",
                "contactList": [{
								    "name": "梁小龙",
								    "phone": "13523456789",
								    "relation": "父子",
								    "remark": "真的"
								},
								{
								    "name": "李龙儿",
								    "phone": "13533456789",
								    "relation": "兄妹",
								    "remark": "真的"
								}],
                "creditResult": "P",
               	"creditLimit": 500.12,
				"repayPattern": "MCAT30",
				"creditRate": 0.02,
				"creditTerm": 30,
				"refuseReason": "测试",
                "idcardFront": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "idcardBack": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOne": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageTwo": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageThree": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOcr": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageHalfBody": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOther": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg;https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "creditAuthUrl": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "sociSecuAuthUrl": "",
                "jdAuthUrl": "",
                "tbAuthUrl": "",
                "chsiAuthUrl": "",
                "zhimaAuthUrl": "",
                "callAuthUrl": "",
                "pbccrcAuthUrl": "",
                "cardNo": "6214837836637755",
                "bankCode": "招商银行",
                "mobile": "18576783787",
                "cardResult": "Pass",
                "sign": "f471420d432a5749ccbb2920dbc77dfe"
            }
        }
    }
    },
    "BJZH": {"service": {
        "serviceHeader": {
            "serviceId": "zhApply",
            "channelCd": "BJZH",
            "productCd": "BJZH001",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "caseId": "ceshi-21",
                "name": "梁家龙",
                "idCard": "452226199407166311",
                "phone": "18576783787",
                "sex": "男",
                "age": 22,
                "applyLimit":500.123,
                "applyTerm": 1,
                "useFor": "购物",
                "deliveryAddress": "北京市朝阳区太阳宫中路8号冠捷大厦302",
                "purGoods": "时尚风衣",
                "purPrice": 65000,
                "occupation": "公务员",
                "monthIncome": 50000,
                "empName": "",
                "empCity": "",
                "empAddress": "",
                "empPhone": "",
                "qq": "",
                "weChat": "",
                "education": "",
                "maritalStatus": "",
                "email": "",
                "carStatus": "",
                "abodeAddress": "",
                "idAddress": "广州市天河区科韵路16号广州信息港C2栋8层测试地址看看你你说你那个你那个你呢食尸鬼",
                "gpsAddress": "",
				"mobileBelong": "",
				"ip": "",
                "equipModel": "",
                "equipBrand": "",
                "appName": "微信",
                "appVersion": "2.12.5",
                "contactList": [{
								    "name": "梁小龙",
								    "phone": "13523456789",
								    "relation": "父子",
								    "remark": ""
								}],
                "creditResult": "P",
               	"creditLimit": 500.12,
				"repayPattern": "MCAT30",
				"creditRate": 0.02,
				"creditTerm": 30,
				"refuseReason": "",
                "idcardFront": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "idcardBack": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOne": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageTwo": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageThree": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageFour": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageHalfBody": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOther": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "creditAuthUrl": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "sociSecuAuthUrl": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "jdAuthUrl": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "tbAuthUrl": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "chsiAuthUrl": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "zhimaAuthUrl": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "callAuthUrl": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "cardNo": "6214837836637755",
                "bankCode": "CMBCHINA",
                "mobile": "18576783787",
                "cardResult": "Pass",
				"zcCreditScore": "500",
                "timesByOtherOrg": "3",
                "otherOrgCount": "2",
                "sign": "f471420d432a5749ccbb2920dbc77dfe"
            }
        }
    }
    },
    "SDLY":{"service": {
        "serviceHeader": {
            "serviceId": "lyApply",
            "channelCd": "SDLY",
            "productCd": "SDLY001",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "caseId": "sdly-105",
                "name": "zeng102",
                "idCard": "513029198502170010",
                "phone": "13512345678",
                "sex": "女",
                "age": 30,
                "applyLimit": 1000,
                "applyTerm": 12,
                "deliveryAddress": "北京市朝阳区太阳宫中路8号冠捷大厦302",
                "purGoods": "时尚风衣",
                "purPrice": 523.5,
                "occupation": "公务员",
                "monthIncome": 5365.2,
                "empName": "北京华品博睿网络技术有限公司",
                "empCity": "北京市",
                "empAddress": "北京市朝阳区太阳宫中路8号冠捷大厦302",
                "empPhone": "010-84150633",
                "qq": "56225615",
                "weChat": "13512345678",
                "education": "本科",
                "maritalStatus": "已婚",
                "email": "56225615@qq.com",
                "carStatus": "有车",
                "abodeAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
                "idAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
                "gpsAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
                "mobileBelong": "移动",
                "ip": "218.19.220.194",
                "equipModel": "荣耀10",
                "equipBrand": "华为",
                "appName": "微信",
                "appVersion": "2.12.5",
                "contactList": [{
								    "name": "李世民",
								    "phone": "13523456789",
								    "relation": "父子",
								    "remark": "应该是真的"
								},
								{
								    "name": "李丽珍",
								    "phone": "13533456789",
								    "relation": "兄妹",
								    "remark": "应该是真的"
								}],
                "creditResult": "P",
               	"creditLimit": 5000,
				"repayPattern": "RPI",
				"creditRate": 0.012,
				"creditTerm": 2,
				"refuseReason": "通过",
                "idcardFront": "https://XXXXXXX",
                "idcardBack": "https://XXXXXXX",
                "imageOne": "https://XXXXXXX",
                "imageTwo": "https://XXXXXXX",
                "imageThree": "https://XXXXXXX",
                "imageFour": "https://XXXXXXX",
                "imageHalfBody": "https://XXXXXXX",
                "imageOther": "https://XXXXXXX",
                "creditAuthUrl": "https://creditXXXXXXX",
                "sociSecuAuthUrl": "https://creditXXXXXXX",
                "jdAuthUrl": "https://creditXXXXXXX",
                "tbAuthUrl": "https://creditXXXXXXX",
                "chsiAuthUrl": "https://creditXXXXXXX",
                "zhimaAuthUrl": "https://creditXXXXXXX",
                "callAuthUrl": "https://creditXXXXXXX",
                "pbccrcAuthUrl": "https://creditXXXXXXX",
                "orgName": "山东机构001",
                "loanDate": "2018-12-3",
                "periods": "12",
                "loanAmount": "200000",
                "approvalStatusCode": "Pass",
                "loanStatusCode": "Normal",
                "loanTypeCode": "等本等息",
                "overdueAmount": "120023.45",
                "overdueStatus": "Overdue",
                "overdueTotal": "6",
                "overdueM3": "3",
                "overdueM6": "6",
                "zcCreditScore": "500",
                "timesByOtherOrg": "3",
                "otherOrgCount": "2",
                "cardNo": "455486123376542",
                "bankCode": "ICBC",
                "mobile": "13512345678",
                "cardResult": "Pass",
				"sign":"84eaa6d6a9c284678d85667629d87a8e"
            }
        }
    }
    },
    "WHZHWS":{"service": {
		"serviceHeader": {
			"serviceId": "apply",
			"channelCd": "WHZHWS",
			"productCd": "WHWS001",
			"requestTime": cur_time
		},
		"serviceBody": {
			"request": {
				"caseId": "WS-004",
				"name": "zeng-03",
				"idCard": "513029198502170010",
				"phone": "13512345678",
				"sex": "女",
				"age": 45,
				"applyLimit": 120000.2,
				"applyTerm": 12,
				"deliveryAddress": "北京市朝阳区太阳宫中路8号冠捷大厦302",
				"purGoods": "时尚风衣",
				"purPrice": 523.5,
				"occupation": "公务员",
				"monthIncome": 5365.2,
				"empName": "北京华品博睿网络技术有限公司",
				"empCity": "北京市",
				"empAddress": "北京市朝阳区太阳宫中路8号冠捷大厦302",
				"empPhone": "010-84150633",
				"qq": "56225615",
				"weChat": "13512345678",
				"education": "本科",
				"maritalStatus": "已婚",
				"email": "56225615@qq.com",
				"carStatus": "有车",
				"abodeAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
				"idAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
				"gpsAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
				"mobileBelong": "移动",
				"ip": "218.19.220.194",
				"equipModel": "荣耀10",
				"equipBrand": "华为",
				"appName": "微信",
				"appVersion": "2.12.5",
				"contactList": [{
						"name": "李世民",
						"phone": "13523456789",
						"relation": "父子",
						"remark": "应该是真的"
					},
					{
						"name": "李丽珍",
						"phone": "13533456789",
						"relation": "兄妹",
						"remark": "应该是真的"
					}
				],
				"creditResult": "P",
				"creditLimit": 600,
				"repayPattern": "EPEI",
				"creditRate": 0.016,
				"creditTerm": 3,
				"refuseReason": "通过",
				"idcardFront": "https://XXXXXXX",
				"idcardBack": "https://XXXXXXX",
				"imageOne": "https://XXXXXXX",
				"imageTwo": "https://XXXXXXX",
				"imageThree": "https://XXXXXXX",
				"imageFour": "https://XXXXXXX",
				"imageHalfBody": "https://XXXXXXX",
				"imageOther": "https://XXXXXXX",
				"creditAuthUrl": "https://creditXXXXXXX",
				"sociSecuAuthUrl": "https://creditXXXXXXX",
				"jdAuthUrl": "https://creditXXXXXXX",
				"tbAuthUrl": "https://creditXXXXXXX",
				"chsiAuthUrl": "https://creditXXXXXXX",
				"zhimaAuthUrl": "https://creditXXXXXXX",
				"callAuthUrl": "https://creditXXXXXXX",
				"pbccrcAuthUrl": "https://creditXXXXXXX",
				"sign":"84eaa6d6a9c284678d85667629d87a8e"
			}
		}
	}
    },
    "M008":{"service": {
        "serviceHeader": {
            "serviceId": "gfApply",
            "channelCd": "M008",
            "productCd": "PCD15",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "caseId": "ceshi-21",
                "name": "梁家龙",
                "idCard": "452226199407166311",
                "phone": "18576783787",
                "sex": "男",
                "age": 24,
                "applyLimit":500.123,
                "applyTerm": 1,
                "useFor": "购物",
                "deliveryAddress": "北京市朝阳区太阳宫中路8号冠捷大厦302",
                "purGoods": "时尚风衣",
                "purPrice": 65000,
                "occupation": "公务员",
                "monthIncome": 50000,
                "empName": "北京华品博睿网络技术有限公司",
                "empCity": "北京市",
                "empAddress": "北京市朝阳区太阳宫中路8号冠捷大厦302",
                "empPhone": "010-84150633",
                "qq": "56225615",
                "weChat": "13512345678",
                "education": "本科",
                "maritalStatus": "已婚",
                "email": "56225615@qq.com",
                "carStatus": "有车",
                "abodeAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
                "idAddress": "广州市天河区科韵路16号广州信息港C2栋8层测试地址看看你你说你那个你那个你呢食尸鬼",
                "gpsAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
                "appName": "微信",
                "appVersion": "2.12.5",
                "contactList": [{
								    "name": "梁小龙",
								    "phone": "13523456789",
								    "relation": "父子",
								    "remark": "真的"
								},
								{
								    "name": "李龙儿",
								    "phone": "13533456789",
								    "relation": "兄妹",
								    "remark": "真的"
								}],
                "creditResult": "P",
               	"creditLimit": 500.12,
				"repayPattern": "MCAT30",
				"creditRate": 0.015,
				"creditTerm": 30,
				"refuseReason": "测试",
                "idcardFront": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "idcardBack": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOne": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageTwo": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageThree": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOcr": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageHalfBody": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOther": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg;https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "creditAuthUrl": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "sociSecuAuthUrl": "",
                "jdAuthUrl": "",
                "tbAuthUrl": "",
                "chsiAuthUrl": "",
                "zhimaAuthUrl": "",
                "callAuthUrl": "",
                "pbccrcAuthUrl": "",
                "cardNo": "6214837836637755",
                "bankCode": "招商银行",
                "mobile": "18576783787",
                "cardResult": "Pass",
                "sign": "f471420d432a5749ccbb2920dbc77dfe"
            }
        }
    }
    },
    "M009":{"service": {
        "serviceHeader": {
            "serviceId": "CIS1904BApply",
            "channelCd": "M009",
            "productCd": "PCD12",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "caseId": "ceshi-21",
                "name": "梁家龙",
                "idCard": "452226199407166311",
                "phone": "18576783787",
                "sex": "男",
                "age": 24,
                "applyLimit":500.123,
                "applyTerm": 1,
                "useFor": "购物测试测试测试...",
                "deliveryAddress": "测试",
                "purGoods": "测试",
                "purPrice": 0,
                "occupation": "公务员测试测试测试..",
                "monthIncome": 5000,
                "empName": "北京华品博睿网络技术有限公司",
                "empCity": "北京市",
                "empAddress": "北京市朝阳区太阳宫中路8号冠捷大厦302",
                "empPhone": "010-84150633",
                "qq": "测试",
                "weChat": "测试",
                "education": "本科",
                "maritalStatus": "已婚",
                "email": "",
                "carStatus": "测试",
                "abodeAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
                "idAddress": "广州市天河区科韵路16号广州信息港C2栋8层测试地址看看你你说你那个你那个你呢食尸鬼",
                "gpsAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
                "appName": "测试",
                "appVersion": "测试",
                "contactList": [{
								    "name": "梁小龙",
								    "phone": "13523456789",
								    "relation": "父子",
								    "remark": "真的"
								},
								{
								    "name": "李龙儿",
								    "phone": "13533456789",
								    "relation": "兄妹",
								    "remark": "真的"
								}],                            # 只允许两个
                "creditResult": "P",
               	"creditLimit": 3000.00,
				"repayPattern": "MCAT30",
				"creditRate": 0.009,
				"creditTerm": 30,
				"refuseReason": "测试",
                "idcardFront": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "idcardBack": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOne": "测试",
                "imageTwo": "测试",
                "imageThree": "测试",
                "imageOcr": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageHalfBody": "测试",
                "imageOther": "测试;https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "zmCreditScore": 775,
                "creditAuthUrl": "测试",
                "sociSecuAuthUrl": "测试",
                "jdAuthUrl": "测试",
                "zfbAuthUrl": "测试",
                "chsiAuthUrl": "测试",
                "zhimaAuthUrl": "测试",
                "operatorAuthUrl": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "pbccrcAuthUrl": "测试",
                "cardNo": "6214837836637755",
                "bankCode": "招商银行",
                "mobile": "18576783787",
                "cardResult": "Pass",
                "sign": "f471420d432a5749ccbb2920dbc77dfe"
            }
        }
    }
    },
    "M012":{"service": {
        "serviceHeader": {
            "serviceId": "ssrApply",
            "channelCd": "M012",
            "productCd": "PCD14",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "caseId": "M012-21",
                "name": "梁家龙",
                "idCard": "452226199407166311",
                "phone": "18576783787",
                "sex": "男",
                "age": 30,
                "applyLimit":500.123,
                "applyTerm": 1,
                "useFor": "购物",
                "deliveryAddress": "测试",
                "purGoods": "测试",
                "purPrice": 0,
                "occupation": "测试",
                "monthIncome": 0,
                "empName": "测试",
                "empCity": "测试",
                "empAddress": "测试",
                "empPhone": "测试",
                "qq": "测试",
                "weChat": "测试",
                "education": "本科",
                "maritalStatus": "测试",
                "email": "56225615@qq.com",
                "carStatus": "测试",
                "idAddress": "广州市天河区科韵路16号广州信息港C2栋8层测试地址看看你你说你那个你那个你呢食尸鬼",
                "gpsAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
                "appName": "测试",
                "appVersion": "测试",
                "contactList": [{
								    "name": "梁小龙",
								    "phone": "13523456789",
								    "relation": "父子",
								    "remark": "测试"
								},
								{
								    "name": "李龙儿",
								    "phone": "13533456789",
								    "relation": "兄妹",
								    "remark": "测试"
								}],
                "creditResult": "P",
               	"creditLimit": 1000.12,
				"repayPattern": "MCAT30",
				"creditRate": 0.012,
				"creditTerm": 30,
                "mjCreditScore": 0.01,    # 魔蝎分
				"refuseReason": "测试",
                "idcardFront": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "idcardBack": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOne": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageTwo": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageThree": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOcr": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageHalfBody": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOther": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg;https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "operatorAuthUrl": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "creditAuthUrl": "",
                "sociSecuAuthUrl": "",
                "jdAuthUrl": "",
                "zfbAuthUrl": "",
                "chsiAuthUrl": "",
                "zhimaAuthUrl": "",
                "pbccrcAuthUrl": "",
                "cardNo": "6214837836637755",
                "bankCode": "招商银行",
                "mobile": "18576783787",
                "cardResult": "Pass",
                "sign": "f471420d432a5749ccbb2920dbc77dfe"
            }
        }
    }
    },
    "M015":{"service": {
        "serviceHeader": {
            "serviceId": "ghApply",
            "channelCd": "M015",
            "productCd": "PCD14A",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "caseId": "M015-21",
                "name": "梁家龙",
                "idCard": "452226199407166311",
                "phone": "18576783787",
                "sex": "男",
                "age": 24,
                "applyLimit":500.123,
                "applyTerm": 1,
                "useFor": "购物",
                "deliveryAddress": "测试",
                "purGoods": "测试",
                "purPrice": 0,
                "occupation": "测试",
                "monthIncome": 0,
                "empName": "测试",
                "empCity": "测试",
                "empAddress": "测试",
                "empPhone": "测试",
                "qq": "测试",
                "weChat": "测试",
                "education": "测试",
                "maritalStatus": "测试",
                "email": "56225615@qq.com",
                "carStatus": "测试",
                "abodeAddress":"广州市天河区科韵路16号广州信息港C2栋8层测试地址",
                "idAddress": "广州市天河区科韵路16号广州信息港C2栋8层测试地址看看你你说你那个你那个你呢食尸鬼",
                "gpsAddress": "测试",
                "appName": "测试",
                "appVersion": "测试",
                "contactList": [{
								    "name": "梁小龙",
								    "phone": "13523456789",
								    "relation": "父子",
								    "remark": "测试"
								},
								{
								    "name": "李龙儿",
								    "phone": "13533456789",
								    "relation": "兄妹",
								    "remark": "测试"
								}],
                "creditResult": "P",
               	"creditLimit": 1500.12,
				"repayPattern": "MCAT30",
				"creditRate": 0.012,
				"creditTerm": 30,
                "zmCreditScore": 0.01,         # 芝麻分
				"refuseReason": "测试",
                "idcardFront": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "idcardBack": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOne": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageTwo": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageThree": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOcr": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageHalfBody": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOther": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg;https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "creditAuthUrl": "",
                "sociSecuAuthUrl": "",
                "jdAuthUrl": "",
                "zfbAuthUrl": "",
                "chsiAuthUrl": "",
                "zhimaAuthUrl": "",
                "operatorAuthUrl": "",
                "pbccrcAuthUrl": "",
                "cardNo": "6214837836637712",
                "bankCode": "招商银行",
                "mobile": "18576783787",
                "cardResult": "Pass",
                "sign": "f471420d432a5749ccbb2920dbc77dfe"
            }
        }
    }
    },
    "M016":{"service": {
        "serviceHeader": {
            "serviceId": "CISAApply",
            "channelCd": "M016",
                "productCd": "PCD12",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "caseId": "ceshi-21",
                "name": "梁家龙",
                "idCard": "452226199407166311",
                "phone": "18576783787",
                "sex": "男",
                "age": 29,
                "applyLimit":500.123,
                "applyTerm": 1,
                "useFor": "购物测试测试测试",
                "deliveryAddress": "测试",
                "purGoods": "测试",
                "purPrice": 0,
                "occupation": "公务员测试测试测试",
                "monthIncome": 0,
                "empName": "北京华品博睿网络技术有限公司",
                "empCity": "",
                "empAddress": "",
                "empPhone": "",
                "qq": "测试",
                "weChat": "测试",
                "education": "测试",
                "maritalStatus": "测试",
                "email": "",
                "carStatus": "有车",
                "abodeAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
                "idAddress": "广州市天河区科韵路16号广州信息港C2栋8层测试地址看看你你说你那个你那个你呢食尸鬼",
                "gpsAddress": "测试",
                "mobileBelong": "测试",
                "ip": "测试",
                "equipModel": "测试",
                "equipBrand": "测试",
                "appName": "测试",
                "appVersion": "测试",
                "contactList": [{
								    "name": "梁小龙",
								    "phone": "13523456789",
								    "relation": "父子",
								    "remark": "真的"
								},
								{
								    "name": "李龙儿",
								    "phone": "13533456789",
								    "relation": "兄妹",
								    "remark": "真的"
								}],
                "creditResult": "P",
               	"creditLimit": 3000.00,
				"repayPattern": "MCAT30",
				"creditRate": 0.01,
				"creditTerm": 30,
				"refuseReason": "测试",
                "idcardFront": "测试",
                "idcardBack": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOne": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageTwo": "测试",
                "imageThree": "测试",
                "imageFour": "测试",
                "imageHalfBody": "测试",
                "imageOther": "测试;https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "creditAuthUrl": "测试",
                "sociSecuAuthUrl": "测试",
                "jdAuthUrl": "测试",
                "tbAuthUrl": "测试",
                "chsiAuthUrl": "测试",
                "zhimaAuthUrl": "测试",
                "callAuthUrl": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "pbccrcAuthUrl": "测试",
                "cardNo": "6214837836637755",
                "bankCode": "招商银行",
                "mobile": "18576783787",
                "cardResult": "Pass",
                "sign": "f471420d432a5749ccbb2920dbc77dfe"
            }
        }
    }
    },
    "M017":{"service": {
        "serviceHeader": {
            "serviceId": "CIS1903BApply",
            "channelCd": "M017",
            "productCd": "PCD12",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "caseId": "ceshi-21",
                "name": "梁家龙",
                "idCard": "452226199407166311",
                "phone": "18576783787",
                "sex": "男",
                "age": 24,
                "applyLimit":500.123,
                "applyTerm": 1,
                "useFor": "购物测试测试测试...",
                "deliveryAddress": "测试",
                "purGoods": "测试",
                "purPrice": 0,
                "occupation": "公务员测试测试测试..",
                "monthIncome": 5000,
                "empName": "北京华品博睿网络技术有限公司",
                "empCity": "北京市",
                "empAddress": "北京市朝阳区太阳宫中路8号冠捷大厦302",
                "empPhone": "010-84150633",
                "qq": "测试",
                "weChat": "测试",
                "education": "本科",
                "maritalStatus": "已婚",
                "email": "",
                "carStatus": "测试",
                "abodeAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
                "idAddress": "广州市天河区科韵路16号广州信息港C2栋8层测试地址看看你你说你那个你那个你呢食尸鬼",
                "gpsAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
                "appName": "测试",
                "appVersion": "测试",
                "contactList": [{
								    "name": "梁小龙",
								    "phone": "13523456789",
								    "relation": "父子",
								    "remark": "真的"
								},
								{
								    "name": "李龙儿",
								    "phone": "13533456789",
								    "relation": "兄妹",
								    "remark": "真的"
								}],                            # 只允许两个
                "creditResult": "P",
               	"creditLimit": 2000.00,
				"repayPattern": "MCAT30",
				"creditRate": 0.01,
				"creditTerm": 30,
				"refuseReason": "测试",
                "idcardFront": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "idcardBack": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOne": "测试",
                "imageTwo": "测试",
                "imageThree": "测试",
                "imageOcr": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageHalfBody": "测试",
                "imageOther": "测试;https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "zmCreditScore": 0,
                "creditAuthUrl": "测试",
                "sociSecuAuthUrl": "测试",
                "jdAuthUrl": "测试",
                "zfbAuthUrl": "测试",
                "chsiAuthUrl": "测试",
                "zhimaAuthUrl": "测试",
                "operatorAuthUrl": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "pbccrcAuthUrl": "测试",
                "cardNo": "6214837836637755",
                "bankCode": "招商银行",
                "mobile": "18576783787",
                "cardResult": "Pass",
                "sign": "f471420d432a5749ccbb2920dbc77dfe"
            }
        }
    }
    },
    "M018":{"service": {
        "serviceHeader": {
            "serviceId": "CIS1903AApply",
            "channelCd": "M018",
            "productCd": "PCD12",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "caseId": "ceshi-21",
                "name": "梁家",
                "idCard": "452226199407166311",
                "phone": "18576783787",
                "sex": "男",
                "age": 24,
                "applyLimit":500.123,
                "applyTerm": 1,
                "useFor": "购物测试测试测试...",
                "deliveryAddress": "测试",
                "purGoods": "测试",
                "purPrice": 0,
                "occupation": "测试",
                "monthIncome": 0,
                "empName": "测试",
                "empCity": "测试",
                "empAddress": "测试",
                "empPhone": "",
                "qq": "测试",
                "weChat": "测试",
                "education": "测试",
                "maritalStatus": "测试",
                "email": "",
                "carStatus": "测试",
                "abodeAddress": "测试",
                "idAddress": "测试",
                "gpsAddress": "测试",
                "mobileBelong": "测试",
                "ip": "测试",
                "equipModel": "测试",
                "equipBrand": "测试",
                "appName": "测试",
                "appVersion": "测试",
                "contactList": [{
								    "name": "梁小龙",
								    "phone": "13523456789",
								    "relation": "父子",
								    "remark": "真的"
								},
								{
								    "name": "李龙儿",
								    "phone": "13533456789",
								    "relation": "兄妹",
								    "remark": "真的"
								}],                            # 只允许两个
                "creditResult": "P",
               	"creditLimit": 20000.00,
				"repayPattern": "MCAT30",
				"creditRate": 0.01,
				"creditTerm": 30,
				"refuseReason": "测试",
                "idcardFront": "测试",
                "idcardBack": "测试",
                "imageOne": "测试",
                "imageTwo": "测试",
                "imageThree": "测试",
                "imageFour": "测试",
                "imageHalfBody": "测试",
                "imageOther": "测试;https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "creditAuthUrl": "测试",
                "sociSecuAuthUrl": "测试",
                "jdAuthUrl": "测试",
                "tbAuthUrl": "测试",
                "chsiAuthUrl": "测试",
                "zhimaAuthUrl": "测试",
                "callAuthUrl": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "pbccrcAuthUrl": "测试",
                "cardNo": "6214837836637755",
                "bankCode": "招商银行",
                "mobile": "18576783787",
                "cardResult": "Pass",
                "sign": "f471420d432a5749ccbb2920dbc77dfe"
            }
        }
    }
    },
    # 小业金融项目360天
    "M019y":{"service": {
        "serviceHeader": {
            "serviceId": "CIS1904AApply",
            "channelCd": "M019",
            "productCd": "PCD82",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "caseId": "ceshi-21",
                "name": "梁家龙",
                "idCard": "452226199407166311",
                "phone": "18576783787",
                "sex": "男",
                "age": 24,
                "applyLimit":500.123,
                "applyTerm": 1,
                "useFor": "购物测试测试测试...",
                "deliveryAddress": "测试",
                "purGoods": "测试",
                "purPrice": 0,
                "occupation": "公务员测试测试测试..",
                "monthIncome": 5000,
                "empName": "北京华品博睿网络技术有限公司",
                "empCity": "北京市",
                "empAddress": "北京市朝阳区太阳宫中路8号冠捷大厦302",
                "empPhone": "010-84150633",
                "qq": "测试",
                "weChat": "测试",
                "education": "本科",
                "maritalStatus": "已婚",
                "email": "",
                "carStatus": "测试",
                "abodeAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
                "idAddress": "广州市天河区科韵路16号广州信息港C2栋8层测试地址看看你你说你那个你那个你呢食尸鬼",
                "gpsAddress": "测试",
                "appName": "测试",
                "appVersion": "测试",
                "contactList": [{
								    "name": "梁小龙",
								    "phone": "13523456789",
								    "relation": "父子",
								    "remark": "真的"
								},
								{
								    "name": "李龙儿",
								    "phone": "13533456789",
								    "relation": "兄妹",
								    "remark": "真的"
								}],                            # 只允许两个
                "creditResult": "P",
               	"creditLimit": 3000,
				"repayPattern": "MCAT360",
				"creditRate": 0.009,
				"creditTerm": 360,
				"refuseReason": "测试",
                "idcardFront": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "idcardBack": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOne": "测试",
                "imageTwo": "测试",
                "imageThree": "测试",
                "imageOcr": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageHalfBody": "测试",
                "imageOther": "测试;https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "zmCreditScore": 0,
                "creditAuthUrl": "测试",
                "sociSecuAuthUrl": "测试",
                "jdAuthUrl": "测试",
                "zfbAuthUrl": "测试",
                "chsiAuthUrl": "测试",
                "zhimaAuthUrl": "测试",
                "operatorAuthUrl": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "pbccrcAuthUrl": "测试",
                "cardNo": "6214837836637755",
                "bankCode": "招商银行",
                "mobile": "18576783787",
                "cardResult": "Pass",
                "sign": "f471420d432a5749ccbb2920dbc77dfe"
            }
        }
    }
    },
    # 小业金融项目30天
    "M019m":{"service": {
        "serviceHeader": {
            "serviceId": "CIS1904AApply",
            "channelCd": "M019",
            "productCd": "PCD12",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "caseId": "ceshi-21",
                "name": "梁家龙",
                "idCard": "452226199407166311",
                "phone": "18576783787",
                "sex": "男",
                "age": 24,
                "applyLimit":500.123,
                "applyTerm": 1,
                "useFor": "购物测试测试测试...",
                "deliveryAddress": "测试",
                "purGoods": "测试",
                "purPrice": 0,
                "occupation": "测试",
                "monthIncome": 0,
                "empName": "测试",
                "empCity": "测试",
                "empAddress": "测试",
                "empPhone": "测试",
                "qq": "测试",
                "weChat": "测试",
                "education": "测试",
                "maritalStatus": "测试",
                "email": "",
                "carStatus": "测试",
                "abodeAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
                "idAddress": "广州市天河区科韵路16号广州信息港C2栋8层测试地址看看你你说你那个你那个你呢食尸鬼",
                "gpsAddress": "测试",
                "appName": "测试",
                "appVersion": "测试",
                "contactList": [{
								    "name": "梁小龙",
								    "phone": "13523456789",
								    "relation": "父子",
								    "remark": "真的"
								},
								{
								    "name": "李龙儿",
								    "phone": "13533456789",
								    "relation": "兄妹",
								    "remark": "真的"
								}],                            # 只允许两个
                "creditResult": "P",
               	"creditLimit": 1000.00,
				"repayPattern": "MCAT30",
				"creditRate": 0.009,
				"creditTerm": 30,
				"refuseReason": "测试",
                "idcardFront": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "idcardBack": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOne": "测试",
                "imageTwo": "测试",
                "imageThree": "测试",
                "imageOcr": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageHalfBody": "测试",
                "imageOther": "测试;https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "zmCreditScore": 0,
                "shzxTotalLoan": 0,
                "shzxLoanBalance": 0,
                "shzxLoanAccount": 0,
                "shzxNormalAccount": 0,
                "shzxSettleAccount": 0,
                "shzxCurOverAccount": 0,
                "creditAuthUrl": "测试",
                "sociSecuAuthUrl": "测试",
                "jdAuthUrl": "测试",
                "zfbAuthUrl": "测试",
                "chsiAuthUrl": "测试",
                "zhimaAuthUrl": "测试",
                "operatorAuthUrl": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "pbccrcAuthUrl": "测试",
                "cardNo": "6214837836637755",
                "bankCode": "招商银行",
                "mobile": "18576783787",
                "cardResult": "Pass",
                "sign": "f471420d432a5749ccbb2920dbc77dfe"
            }
        }
    }
    },
    "M020":{"service": {
        "serviceHeader": {
            "serviceId": "CIS1904CApply",
            "channelCd": "M020",
            "productCd": "PCD12",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "caseId": "ceshi-21",
                "name": "梁家",
                "idCard": "452226199407166311",
                "phone": "18576783787",
                "sex": "男",
                "age": 24,
                "applyLimit":500.123,
                "applyTerm": 1,
                "useFor": "购物测试测试测试...",
                "deliveryAddress": "测试",
                "purGoods": "测试",
                "purPrice": 0,
                "occupation": "公务员测试测试测试..",
                "monthIncome": 5000,
                "empName": "北京华品博睿网络技术有限公司",
                "empCity": "北京市",
                "empAddress": "北京市朝阳区太阳宫中路8号冠捷大厦302",
                "empPhone": "010-84150633",
                "qq": "测试",
                "weChat": "测试",
                "education": "测试",
                "maritalStatus": "测试",
                "email": "",
                "carStatus": "测试",
                "abodeAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
                "idAddress": "广州市天河区科韵路16号广州信息港C2栋8层测试地址看看你你说你那个你那个你呢食尸鬼",
                "gpsAddress": "测试",
                "mobileBelong": "测试",
                "ip": "测试",
                "equipModel": "测试",
                "equipBrand": "测试",
                "appName": "测试",
                "appVersion": "测试",
                "contactList": [{
								    "name": "梁小龙",
								    "phone": "13523456789",
								    "relation": "父子",
								    "remark": "真的"
								},
								{
								    "name": "李龙儿",
								    "phone": "13533456789",
								    "relation": "兄妹",
								    "remark": "真的"
								}],                            # 只允许两个
                "creditResult": "P",
               	"creditLimit": 2000.00,
				"repayPattern": "MCAT30",
				"creditRate": 0.01,
				"creditTerm": 30,
				"refuseReason": "测试",
                "idcardFront": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "idcardBack": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageOne": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageTwo": "测试",
                "imageThree": "测试",
                "imageFour": "测试",
                "imageHalfBody": "测试",
                "imageOther": "测试;https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "creditAuthUrl": "测试",
                "sociSecuAuthUrl": "测试",
                "jdAuthUrl": "测试",
                "tbAuthUrl": "测试",
                "chsiAuthUrl": "测试",
                "zhimaAuthUrl": "测试",
                "callAuthUrl": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "pbccrcAuthUrl": "测试",
                "cardNo": "6214837836637755",
                "bankCode": "招商银行",
                "mobile": "18576783787",
                "cardResult": "Pass",
                "sign": "f471420d432a5749ccbb2920dbc77dfe"
            }
        }
    }
    },
    "M021":{"service": {
        "serviceHeader": {
            "serviceId": "CIS1904DApply",
            "channelCd": "M021",
            "productCd": "PCD12",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "caseId": "ceshi-21",
                "name": "梁家",
                "idCard": "452226199407166311",
                "phone": "18576783787",
                "sex": "男",
                "age": 24,
                "applyLimit":500.123,
                "applyTerm": 1,
                "useFor": "购物测试测试测试...",
                "deliveryAddress": "测试",
                "purGoods": "测试",
                "purPrice": 0,
                "occupation": "公务员测试测试测试..",
                "monthIncome": 5000,
                "empName": "北京华品博睿网络技术有限公司",
                "empCity": "北京市",
                "empAddress": "北京市朝阳区太阳宫中路8号冠捷大厦302",
                "empPhone": "010-84150633",
                "qq": "测试",
                "weChat": "测试",
                "education": "本科",
                "maritalStatus": "已婚",
                "email": "",
                "carStatus": "测试",
                "abodeAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
                "idAddress": "广州市天河区科韵路16号广州信息港C2栋8层测试地址看看你你说你那个你那个你呢食尸鬼",
                "gpsAddress": "测试",
                "appName": "测试",
                "appVersion": "测试",
                "contactList": [{
								    "name": "梁小龙",
								    "phone": "13523456789",
								    "relation": "父子",
								    "remark": "真的"
								},
								{
								    "name": "李龙儿",
								    "phone": "13533456789",
								    "relation": "兄妹",
								    "remark": "真的"
								}],                            # 只允许两个
                "creditResult": "P",
               	"creditLimit": 10000,
				"repayPattern": "MCAT30",
				"creditRate": 0.009,
				"creditTerm": 30,
				"refuseReason": "测试",
                "idcardFront": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "idcardBack": "测试",
                "imageOne": "测试",
                "imageTwo": "测试",
                "imageThree": "测试",
                "imageOcr": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageHalfBody": "测试",
                "imageOther": "测试;https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "zmCreditScore": 0,
                "creditAuthUrl": "测试",
                "sociSecuAuthUrl": "测试",
                "jdAuthUrl": "测试",
                "zfbAuthUrl": "测试",
                "chsiAuthUrl": "测试",
                "zhimaAuthUrl": "测试",
                "operatorAuthUrl": "测试",
                "pbccrcAuthUrl": "测试",
                "cardNo": "6214837836637755",
                "bankCode": "招商银行",
                "mobile": "18576783787",
                "cardResult": "Pass",
                "sign": "f471420d432a5749ccbb2920dbc77dfe"
            }
        }
    }
    },
    "M022":{"service": {
        "serviceHeader": {
            "serviceId": "CIS1905AApply",
            "channelCd": "M022",
            "productCd": "PCD12",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "caseId": "ceshi-21",
                "name": "梁家",
                "idCard": "452226199407166311",
                "phone": "18576783787",
                "sex": "男",
                "age": 24,
                "applyLimit":500.123,
                "applyTerm": 1,
                "useFor": "购物测试测试测试...",
                "deliveryAddress": "测试",
                "purGoods": "测试",
                "purPrice": 0,
                "occupation": "公务员测试测试测试..",
                "monthIncome": 5000,
                "empName": "北京华品博睿网络技术有限公司",
                "empCity": "北京市",
                "empAddress": "北京市朝阳区太阳宫中路8号冠捷大厦302",
                "empPhone": "010-84150633",
                "qq": "测试",
                "weChat": "测试",
                "education": "本科",
                "maritalStatus": "已婚",
                "email": "",
                "carStatus": "测试",
                "abodeAddress": "广州市天河区科韵路16号广州信息港C2栋8层",
                "idAddress": "广州市天河区科韵路16号广州信息港C2栋8层测试地址看看你你说你那个你那个你呢食尸鬼",
                "gpsAddress": "测试",
                "appName": "测试",
                "appVersion": "测试",
                "contactList": [{
								    "name": "梁龙",
								    "phone": "13523456789",
								    "relation": "父子",
								    "remark": "真的"
								},
								{
								    "name": "李龙儿",
								    "phone": "13533456789",
								    "relation": "兄妹",
								    "remark": "真的"
								}],                            # 只允许两个
                "creditResult": "P",
               	"creditLimit": 10000,
				"repayPattern": "MCAT30",
				"creditRate": 0.009,
				"creditTerm": 30,
				"refuseReason": "测试",
                "idcardFront": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "idcardBack": "测试",
                "imageOne": "测试",
                "imageTwo": "测试",
                "imageThree": "测试",
                "imageOcr": "https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "imageHalfBody": "测试",
                "imageOther": "测试;https://msbuc.oss-cn-shenzhen.aliyuncs.com/test/meson/lyloan/picture/personal_info/2018-11-30/WechatIMG34.jpeg",
                "zmCreditScore": 0,
                "creditAuthUrl": "测试",
                "sociSecuAuthUrl": "测试",
                "jdAuthUrl": "测试",
                "zfbAuthUrl": "测试",
                "chsiAuthUrl": "测试",
                "zhimaAuthUrl": "测试",
                "operatorAuthUrl": "测试",
                "pbccrcAuthUrl": "测试",
                "cardNo": "6214837836637755",
                "bankCode": "招商银行",
                "mobile": "18576783787",
                "cardResult": "Pass",
                "sign": "f471420d432a5749ccbb2920dbc77dfe"
            }
        }
    }
    },
    "M301":{"service": {
        "serviceHeader": {
            "serviceId": "CIS1906ALoan",
            "channelCd": "M301",
            "productCd": "SCB06",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "uniqueId":"123456XYZ",
	            "userName":"张三",
				"phone":"13512345678",
	            "idCardNum":"32132119901010111X",
	            "address":"北京市朝阳区望京小区1号楼1001",
	            "amount":"1",
	            "rate":"15",
	            "deadline":"7天",
	            "accountName":"李四",
	            "accountBank":"北京银行",
	            "accountNum":"6006600660066006"
             }
        }
    }
    },
    "M302":{"service": {
        "serviceHeader": {
            "serviceId": "CIS1907ALoan",
            "channelCd": "M302",
            "productCd": "SCB06",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "uniqueId":"123456XYZ",                 # 同一编号的数据传递多次则后续的数据将覆盖前面的数据
	            "userName":"张三",
				"phone":"13512345678",
	            "idCardNum":"32132119901010111X",
	            "address":"北京市朝阳区望京小区1号楼1001",
	            "amount":"10000.00",
                "interest":"10.00",
                "fee": "10.00",                   # 总服务费（单元：元）
                "loanTime": datetime.now().strftime('%Y-%m-%d %H:%M:%S'),
	            "rate":"15",                       # 贷款年化利率（单位：%）

                "timeType": "1",                   # 期限类别(0：按天；1：按月)  当deadline不为null时，则必填
	            "deadline":"5",                    # 借款期限
	            "accountName":"",                 # 甲方指定收款账户户名
	            "accountBank":"",
	            "accountNum":""
             }
        }
    }
    },
    "hyQuery":{"service": {
        "serviceHeader": {
            "serviceId": "hyQuery",
            "channelCd": "BJHY",
            "productCd": "BJHY001",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "caseId": "HY001",
                "idCard": "360321198804098282",
                "sign": "xxxxxxxxxxxxxxxxxxxxx"
            }
        }
    }
    },
    "gfQuery":{"service": {
        "serviceHeader": {
            "serviceId": "gfQuery",
            "channelCd": "M008",
            "productCd": "PCD15",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "caseId": "HY001",
                "idCard": "360321198804098282",
                "sign": "xxxxxxxxxxxxxxxxxxxxx"
            }
        }
    }
    },
    # 通用客户状态查询
    "CISQuery":{"service": {
        "serviceHeader": {
            "serviceId": "CISQuery",
            "channelCd": "M021",
            "productCd": "PCD12",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "caseId": "M021-9007",
                "idCard": "650102199012315713",
                "sign": "xxxxxxxxxxxxxxxxxxxxx"
            }
        }
    }
    },
    "balanceQuery":{"service": {
        "serviceHeader": {
            "serviceId": "balanceQuery",
            "channelCd": "M021",
            "productCd": "PCD11",
            "requestTime": cur_time
        },
        "serviceBody": {
            "request": {
                "date": datetime.now().strftime('%Y-%m-%d'),
                "sign": "xxxxxxxxxxxxxxxxxxxxx"
            }
        }
    }
    },

    # 影像平台
    "pushuserinfo":{
        "name": "测试",
        "phone": "15000000000",
        "idcard": "125467892182041522",
        "bankid": "58205620055200",
        "idcardBack": "http://slloan.oss-cn-shenzhen.aliyuncs.com/test/sld/userinfo/2019-07-30/cooperative/2019-07-30_142603-科创版基金.jpg",
        "idcardFront": "http://slloan.oss-cn-shenzhen.aliyuncs.com/test/sld/userinfo/2019-07-30/cooperative/2019-07-30_142548-科创版基金.jpg",
        "appointmentContractImg": "http://slloan.oss-cn-shenzhen.aliyuncs.com/test/sld/userinfo/2019-07-30/cooperative/2019-07-30_142618-科创版基金.jpg",
        "businessImg": "http://slloan.oss-cn-shenzhen.aliyuncs.com/test/sld/userinfo/2019-07-30/cooperative/2019-07-30_142609-科创版基金.jpg",
        "loanContractImg": "http://slloan.oss-cn-shenzhen.aliyuncs.com/test/sld/userinfo/2019-07-30/cooperative/2019-07-30_142614-科创版基金.jpg",
        "pledgeContractImg": "http://slloan.oss-cn-shenzhen.aliyuncs.com/test/sld/userinfo/2019-07-30/cooperative/2019-07-30_142623-科创版基金.jpg"
    },

    # 通道业务-通用企业进件
    "comApply":{
        "serviceHeader":{
            "serviceId": "Apply",
            "channelType": 0,                          # 0-企业，1-个人，默认0
            "channelCd":"YGJ",
            "productCd":"YGJ001",
            "sign":"60d391ff2a2c568d1f1f86b8548e2663"  # channelType=0&channelCd=YGJ&productCd=YGJ001&+签名的参数名ASCII码从小到大排序
        },
        "serviceBody":{
            "caseId": "AP" + cur_time,                 # 企业案件号
            "name": "yyy有限公司",                      # length-64
            "regType": "NORMAL",                       # 企业注册类型：NORMAL-组织机构代码、MERGE-统一社会信用代码、REGCODE-工商注册号，默认NORMAL
            "organCode": "123456789",                  # 组织机构代码、工商注册号或统一社会信用代码
            "organType": 0,                            # 企业类型：0-普通企业，1-社会团体，2-事业单位，3-民办非企业单位，4-党政及国家机构，默认0
            "address":"广东省广州市越秀区XXX街道XXX号",   # 营业执照上的企业地址
            "regCapital": "546213",                    # 注册资本
            "regDate": "2008-11-11",                   # 成立日期
            "userType": 0,                             # 注册类型：0-法人注册，1-代理人注册，默认0
            "legalName": "",                           # 法人注册必填
            "legalIdNo": "330112197601245897",         # 法人注册必填
            "legalMobile": "13011223344",              # 法人注册必填
            "agentName": "李四",                       # 代理人注册必填
            "agentIdNo":"",                            # 代理人注册必填
            "agentMobile":"",                          # 代理人注册必填
            "applyLimit": 10000.01,                    # 贷款本金
            "applyTerm": 2,                            # 贷款期限
            "termType": 2,                             # 贷款期限类型：0-日，1-月，2-年，默认0
            "annualRate":24.00,                        # 贷款年化利率(%)：只传数值
            "bankAccountName":"张三",                   # 甲方指定收款账户户名
            "bankName": "工商银行",
            "bankCardNo":"1234567891234567899"
        }
    },
    # 通道业务-通用个人进件
    "perApply":{
        "serviceHeader":{
            "serviceId": "Apply",
            "channelType": 1,                          # 0-企业，1-个人，默认0
            "channelCd":"YGJ",
            "productCd":"YGJ001",
            "sign":"60d391ff2a2c568d1f1f86b8548e2663"  # channelType=0&channelCd=YGJ&productCd=YGJ001&+签名的参数名ASCII码从小到大排序
        },
        "serviceBody":{
            "caseId": "AP" + cur_time,                 # 企业案件号
            "name": "",                                # length-64
            "regType": "",                             # 企业注册类型：NORMAL-组织机构代码、MERGE-统一社会信用代码、REGCODE-工商注册号，默认NORMAL
            "organCode": "",                           # 组织机构代码、工商注册号或统一社会信用代码
            "organType":"" ,                           # 企业类型：0-普通企业，1-社会团体，2-事业单位，3-民办非企业单位，4-党政及国家机构，默认0
            "address":"",                              # 营业执照上的企业地址
            "regCapital": "",                          # 注册资本
            "regDate": "",                             # 成立日期
            "userType": "",                            # 注册类型：0-法人注册，1-代理人注册，默认0
            "legalName": "",                           # 法人注册必填
            "legalIdNo": "",                           # 法人注册必填
            "legalMobile": "",                         # 法人注册必填
            "agentName": "",                           # 代理人注册必填
            "agentIdNo":"",                            # 代理人注册必填
            "agentMobile":"",                          # 代理人注册必填
            "userName": "测试一",                       # 个人必填姓名
            "userMobile": "13756897863",               # 个人必填手机号
            "idCardNum": "650102198811031157",         # 个人必填身份证
            "userAddress": "广东省广州市越秀区XXX街道XXX号",   # 个人必填地址
            "applyLimit": 10000.01,                    # 贷款本金
            "applyTerm": 2,                            # 贷款期限
            "termType": 2,                             # 贷款期限类型：0-日，1-月，2-年，默认0
            "annualRate":24.00,                        # 贷款年化利率(%)：只传数值
            "bankAccountName":"张三",                   # 甲方指定收款账户户名
            "bankName": "工商银行",
            "bankCardNo":"1234567891234567899"
        }
    },
    # 通道业务-银管家借款协议签约接口
    "com_yContract":{
        "serviceHeader":{
            "serviceId": "Contract",
            "channelType": 0,                          # 0-企业，1-个人，默认0
            "channelCd":"YGJ",
            "productCd":"YGJ001",
            "sign":"60d391ff2a2c568d1f1f86b8548e2663"  # channelType=0&channelCd=YGJ&productCd=YGJ001&+签名的参数名ASCII码从小到大排序
        },
        "serviceBody":{
            "caseId": "CT" + cur_time,                # 企业申请案件号
            "processNo": "CW" + cur_time,             # 内部案件流水号
            "fields": {
                "contractNo": "MS0000000001",
                "borrower":"张三",
                "address":"广东省广州市",
                "legalName":"李四",
                "contact":"王五",
                "mobile":"15780000000",
                "mail":"888@163.com",
                "capitalAmt":"壹仟",
                "lowerAmt":"1000.00",
                "borrowLimit":"1",                # 借款期限：1月
                "bankAccountName":"sz",
                "bankName":"中国银行",
                "bankCardNo":"330112197601245897",
                "signYear":"2019",                 # 如：2019
                "signMonth":"10",                  # 如：10
                "signDay":"01"                     # 如：01
            }
        }
    },
    # 通道业务-i家分期借款协议签约接口
    "com_iContract":{
        "serviceHeader":{
            "serviceId": "Contract",
            "channelType": 1,                          # 0-企业，1-个人，默认0
            "channelCd":"IJFQ",
            "productCd":"IJFQ001",
            "sign":"60d391ff2a2c568d1f1f86b8548e2663"  # channelType=0&channelCd=YGJ&productCd=YGJ001&+签名的参数名ASCII码从小到大排序
        },
        "serviceBody":{
            "caseId": "CT" + cur_time,                # 企业申请案件号
            "processNo": "CW" + cur_time,             # 内部案件流水号
            "fields": {
                "contractNo": "MS0000000001",
                "borrower":"张三",
                "idCardNo": "330112197601245897",
                "mobile": "15780000000",
                "mail": "888@163.com",
                "address":"广东省广州市xxxxxxxxxxxxxxxxxxxxxx测试地址X路42号",
                "loanPrincipal": "1000.00",           # 借款本金(单位:元)
                "loanRate": "10",                     # 借款利率
                "loanLimit": "6",                     # 借款期限：6月
                "loanTimeYear": "2019",               # 如：2019
                "loanTimeMonth": "10",                # 如：10
                "loanTimeDay": "01",                  # 如：01
                "loanExpireYear": "2020",
                "loanExpireMonth": "04",
                "loanExpireDay": "01",
                "loanPurpose":"借款用途",
                "refundType":"每期还款方式",
                "signDate":"2019-12-06"
            }
        }
    },
    # 通道业务-银管家债权转让清单签署
    "com_yTransfer": {
        "serviceHeader": {
            "serviceId": "Transfer",
            "channelType": 0,                      # 0-企业，1-个人，默认0
            "channelCd": "YGJ",
            "productCd": "YGJ001",
            "sign": "60d391ff2a2c568d1f1f86b8548e2663"
        },
        "serviceBody": {
            "caseId": "TF" + cur_time,            # 企业申请流水号
            "notice": 1,                           # 是否债权转让通知书，0-否，1-是，默认为0
            "fields":{
                "transferListNo":"tr001",          # 债权转让清单编号
                "agreementSignYear":"2019",        # 债权转让协议签署
                "agreementSignMonth":"12",
                "agreementSignDay":"02",
                "agreementNo":"ZR0001",            # 债权转让协议编号
                "capitalAmt":"壹仟",               # 本金余额大写(单位:元)
                "lowerAmt":"1000.00",
                "capitalTransferAmt":"壹仟",       # 债权转让价格大写(单位:元)
                "lowerTransferAmt":"1000.00",
                "transferYear":"2019",             # 转让时间年
                "transferMonth":"12",
                "transferDay":"02",
                "signYear":"2019",                 # 签署时间年
                "signMonth":"12",
                "signDay":"02",
                "creditList":[
                    {
                    "processNo":"AMSEMP20191202000007",
                    "borrowContractNo":"ms00001",
                    "borrowerName":"sz",
                    "contractStartDate":"2019-10-01",
                    "contractEndDate":"2019-12-01",
                    "borrowAmt":"1000.00",
                    "borrowRate":"10.0",
                    "transferTime":"2019-10-01"             # 债权转让时间
                    },
                    {
                    "processNo":"AMSEMP20191202000009",
                    "borrowContractNo":"ms00002",
                    "borrowerName":"sz",
                    "contractStartDate":"2019-10-01",
                    "contractEndDate":"2019-12-01",
                    "borrowAmt":"1000.00",
                    "borrowRate":"10.0",
                    "transferTime":"2019-10-01"             # 债权转让时间
                    }
                ],                # 债权明细集合-最多10个
                "noticeList":[
                    {
                    "processNo":"AMSEMP20191202000007",
                    "borrower":"sz",
                    "borrowContractNo":"ms00001",
                    "accountName":"cs",
                    "accountNo":"sc",
                    "bankName":"sc"
                    },
                    {
                    "processNo":"AMSEMP20191202000009",
                    "borrower":"sz",
                    "borrowContractNo":"ms00002",
                    "accountName":"cs",
                    "accountNo":"cs",
                    "bankName":"cs"
                    }
                ]                 # 债权转让通知书清单-最多10个
            }
        },
    },
    # 通道业务-i家分期债权转让清单签署
    "com_iTransfer": {
        "serviceHeader": {
            "serviceId": "Transfer",
            "channelType": 1,                            # 0-企业，1-个人，默认0
            "channelCd": "IJFQ",
            "productCd": "IJFQ001",
            "sign": "60d391ff2a2c568d1f1f86b8548e2663"
        },
        "serviceBody": {
            "caseId": "TF" + cur_time,                   # 企业申请流水号
            "notice": 1,                                 # 是否债权转让通知书，0-否，1-是，默认为0
            "fields": {
                "contractNo": "ZR0001",                  # 债权转让协议编号
                "amount": "1020.00",                     # 债权金额
                "debtor": "测试111",                     # 债务人
                "capital": "1000.00",                    # 债权本金
                "negotiateAmt": "1010.00",               # 协商价格金额
                "signTime": "2019-12-06",                # 签署时间
                "creditList": [
                    {
                    "processNo": "AMSEMP20191202000007",
                    "borrowContractNo": "ms00001",
                    "borrowerName": "sz",
                    "contractStartDate": "2019-10-01",
                    "contractEndDate": "2019-12-01",
                    "borrowAmt": "1000.00",
                    "borrowRate": "10.0"
                    },
                    {
                    "processNo": "AMSEMP20191202000009",
                    "borrowContractNo": "ms00002",
                    "borrowerName": "sz",
                    "contractStartDate": "2019-10-01",
                    "contractEndDate": "2019-12-01",
                    "borrowAmt": "1000.00",
                    "borrowRate": "10.0"
                    }
                ],                     # 债权明细集合-最多10个
                "noticeList": [
                    {
                    "processNo": "AMSEMP20191202000007",
                    "borrower": "sz",
                    "endYear": "2020",               # 截止时间年
                    "endMonth": "04",
                    "endDay": "01",
                    "loanCapital": "1000.00",        # 借款本金
                    "guarantor":"",                  # 担保人
                    "transferYear":"2019",           # 转让时间年
                    "transferMonth":"12",
                    "transferDay":"06",
                    "signYear":"2019",               # 签署时间年
                    "signMonth":"12",
                    "signDay":"06"
                    },
                    {
                    "processNo": "AMSEMP20191202000007",
                    "borrower": "sz",
                    "endYear": "2020",               # 截止时间年
                    "endMonth": "04",
                    "endDay": "01",
                    "loanCapital": "1000.00",        # 借款本金
                    "guarantor":"",                  # 担保人
                    "transferYear":"2019",           # 转让时间年
                    "transferMonth":"12",
                    "transferDay":"06",
                    "signYear":"2019",               # 签署时间年
                    "signMonth":"12",
                    "signDay":"06"
                    }
                ]                      # 债权转让通知书清单-最多10个
            }
        },
    },
    # 通道业务-薪计划个人进件
    "CISXjhA_apply": {"service": {
        "serviceHeader": {
            "serviceId": "CISXjhAApply",
            "channelCd":"XJH",
            "productCd":"YGJ001",
            "requestTime": cur_time                   # 请求时间时间戳
        },
        "serviceBody": {
        "request":{
            "uniqueId": "AP" + cur_time,                # 业务方案件号
            "productName":"上海教育分期",                # 业务方案件号
            "businessType": "0001",
            "userName": "测试",                         # 借款人手机号码
            "mobile": "13756897863",                    # 借款人手机号码
            "idNo": "650102198811031157",               # 借款人身份证号码
            "email": "xx.qq.com",                       #
            "provinceCode": "440000",                   # 借款人所属省编码
            "provinceName":"广东省" ,                    #
            "cityCode": "440100",                        #
            "cityName": "广州市",                        #
            "detailAddress": "xxxxxxxxxx",
            "lowerAmt": 10001.01,                        # 借款金额(本金)小写
            "capitalAmt": '一万元整',                     # 借款金额(本金)大写
            "dayRate": 0.03,                             # 贷款日利率(%)：只传数值
            "yearRate": 24.00,                           # 贷款年化利率(%)：只传数值
            "loanStartDate": minus_date(0,'t'),          # 贷款起息日，格式：yyyy-MM-dd
            "loanEndDate": minus_date(-30, 't'),         # 贷款到息日，格式：yyyy-MM-dd
            "periods": 1,                                # 借款期数
            "loanDays": 30,                              # 借款天数
            "repayDate": minus_date(-30, 't'),           # 还款计划还款日，格式：yyyy-MM-dd
            "repayPrincipal": 10000.01,                  # 还款计划还款本金
            "repayInterest": 100.00,                     # 还款计划还款利息
            "loanAccountName":"张三",                    # 甲方指定收款账户户名
            "loanAccountBank": "工商银行",
            "bankBranchName":"北京路支行",                #
            "bankCode":"IBC",                            #
            "loanAccountNo":"1234567891234567899",
            "guarantor":'测试ZENG',                       # 债务人/担保人(D+1签署债权转让通知书使用)
            #" sign":""                                    # channelCd=YGJ&productCd=YGJ001&+request所有参数签名的参数名ASCII码从小到大排序
            }
        }
    }
    },
    # 通道业务-薪计划个人放款申请
    "CISXjhLoanAApply": {"service": {
        "serviceHeader": {
            "serviceId": "CISXjhLoanAApply",
            "channelCd": "XJH",
            "productCd": "YGJ001",
            "requestTime": cur_time  # 请求时间时间戳
        },
        "serviceBody": {
            "request": {
                "uniqueId": "PAY" + cur_time,  # 业务方请求流水
                "orderNo": "0001",             # 小贷内部案件号
                #"sign": "60d391ff2a2c568d1f1f86b8548e2663"  # channelCd=YGJ&productCd=YGJ001&+签名的参数名ASCII码从小到大排序
            }
        }
    }
    },
}


if __name__ == '__main__':
    dict_to_json(API_QDZJ['CISXjhA_apply'])